//
//  FactorySliderViewController.h
//  ShoppingExperience
//
//  Created by LiYinDi on 15-1-26.
//  Copyright (c) 2015年 RuiBen. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "QCSlideSwitchView.h"
//#import "FactoryDynamicViewController.h"
//#import "FactoryActivityViewController.h"
//#import "FactoryTrainViewController.h"
//#import "FactoryInteractionViewController.h"
#include "FactoryNewProductViewController.h"
@protocol FactorySliderDelegate;
@interface FactorySliderViewController : UIViewController<NewProductDelegate>//<QCSlideSwitchViewDelegate,FactoryDynamicDelegate,FactoryActivityDelegate,FactoryTrainDelegate,NewProductDelegate>
{
    QCSlideSwitchView *_slideSwitchView;
//    FactoryDynamicViewController *_dynamicVC;
//    FactoryActivityViewController *_activityVC;
//    FactoryTrainViewController *_trainVC;
//    FactoryInteractionViewController *_interactionVC;
    
    FactoryNewProductViewController *_productVC;
}
@property(nonatomic,weak) id<FactorySliderDelegate> delegate;

@property (nonatomic, strong) IBOutlet QCSlideSwitchView *slideSwitchView;
//@property (nonatomic, strong)  FactoryDynamicViewController *dynamicVC;
//@property (nonatomic, strong) FactoryActivityViewController *activityVC;
//@property (nonatomic, strong) FactoryTrainViewController *trainVC;
//@property (nonatomic, strong) FactoryInteractionViewController *interactionVC;
@property (nonatomic, strong) FactoryNewProductViewController *productVC;

@end

@protocol FactorySliderDelegate <NSObject>
@optional
-(void)factoryDynamicCellSelected:(NSString *)codeStr;
-(void)factoryActivityCellSelected:(NSString *)codeStr;
-(void)factoryNewProductRightTableView:(NSUInteger)index code:(NSString *)itemCode  companyCodeStr:(NSString *)companyCodeStr _itemCodeArray:(NSMutableArray *)_itemCodeArray _itemNameArray:(NSMutableArray *)_itemNameArray _itemWhereArray:(NSMutableArray *)_itemWhereArray _itemPriceArray:(NSMutableArray *)_itemPriceArray _itemUrlArray:(NSMutableArray *)_itemUrlArray _itemWeightArray:(NSMutableArray *)_itemWeightArray   _itemSeriesNameArray:(NSMutableArray *)_itemSeriesNameArray _itemTypeNameArray:(NSMutableArray *)_itemTypeNameArray _itemInDateArray:(NSMutableArray *)_itemInDateArray;

-(void)videoBtnSelected:(NSUInteger)index;
@end
